package com.wn.service;


import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface RbacRoleService {
    //查询
    Map findOne(int id);
    //添加
    public void addOne(@Param("id")int id, @Param("name")String name, @Param("description")String description, @Param("status")String status);
    //修改
    public void modifyOne(@Param("id")int id,@Param("name")String name);
    //删除
    public void deleteOne(int id);
    //查询全部
    List<Map<String,String>> findAllOne();
}
